package com.dg11185.nearshop.test;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class DemoData {

    public static List<Map<String, Object>> getSimpleShopList() {
        final String coverUrl = "http://info.dg11185.com/uploads/5556/201305/3a35241f73cb36a91fb90d4339272798[250_250].jpg";

        List<Map<String, Object>> data = new ArrayList<Map<String, Object>>();
        Map<String, Object> map1 = new HashMap<String, Object>();
        map1.put("coverUrl", coverUrl);
        map1.put("name", "大地数字影院");
        map1.put("discount",
                "每周五凭常惠卡到店购票享受减10元优惠（全市9店通用，樟木头大地影院除外。国家法定节假日等重大黄金假期不参与以上优惠）");

        for (int i = 0; i < 5; i++) {
            data.add(map1);
        }

        return data;
    }

    public static List<Map<String, Object>> getShopList() {
        final String coverUrl = "http://info.dg11185.com/uploads/5556/201305/3a35241f73cb36a91fb90d4339272798[250_250].jpg";

        List<Map<String, Object>> data = new ArrayList<Map<String, Object>>();
        Map<String, Object> map1 = new HashMap<String, Object>();
        map1.put("coverUrl", coverUrl);
        map1.put("name", "大地数字影院");
        map1.put("discount", "八折");
        map1.put("rating", 45);
        map1.put("typeAndLoc", "电影院   城市风情街");
        map1.put("distance", "0.35km");

        for (int i = 0; i < 5; i++) {
            data.add(map1);
        }

        return data;
    }

}
